package com.horoscope.astrology.zodiac.signs.free.network.task

import com.horoscope.astrology.zodiac.signs.free.bean.NameResultBean
import com.horoscope.astrology.zodiac.signs.free.network.NetworkListener

class GetNameResultTask(
    name1: String,
    name2: String,
    listener: NetworkListener<NameResultBean>?
) : BaseTask<NameResultBean>(listener) {

    init {
        setApiAndCallBack(getApiCenter().getNameCompatibility(name1, name2))
    }
}